package com.moneywelcome.userserviceassembly.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("user_login")
@ApiModel("登录信息实体类")
public class UserLogin {
    @ApiModelProperty("登录id")
    @TableId(value = "user_id",type = IdType.AUTO)
    private Integer userId;
    @ApiModelProperty("账号")
    private String  account;
    @ApiModelProperty("密码")
    private String  password;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("注册时间")
    private String registerTime;
    @ApiModelProperty("账号状态")
    private Integer accountStatus;
    @ApiModelProperty("上次登录ip")
    private String lastLoginIp;
    @ApiModelProperty("上次登陆时间")
    private String lastLoginTime;
}
